package example.tallydemo.MyEntity;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Id;

import java.util.Date;

/**
 * Created by tuzha on 2018/4/6.
 */
@Entity
public class AccountBook
{
    @Id(autoincrement = true)
    private Long id;//账本id

    private Boolean type; //账本类型
    private String origin; //账本来源
    private String classify; //账本分类
    private Date date; //账本日期
    private int year; //年
    private int mouth; //月
    private int day; //日
    private Double money; //账本金额
    private String introduction; //账本简介
    @Generated(hash = 1250051129)
    public AccountBook(Long id, Boolean type, String origin, String classify,
            Date date, int year, int mouth, int day, Double money,
            String introduction) {
        this.id = id;
        this.type = type;
        this.origin = origin;
        this.classify = classify;
        this.date = date;
        this.year = year;
        this.mouth = mouth;
        this.day = day;
        this.money = money;
        this.introduction = introduction;
    }
    @Generated(hash = 1809087649)
    public AccountBook() {
    }
    public Long getId() {
        return this.id;
    }
    public void setId(Long id) {
        this.id = id;
    }
    public Boolean getType() {
        return this.type;
    }
    public void setType(Boolean type) {
        this.type = type;
    }
    public String getOrigin() {
        return this.origin;
    }
    public void setOrigin(String origin) {
        this.origin = origin;
    }
    public String getClassify() {
        return this.classify;
    }
    public void setClassify(String classify) {
        this.classify = classify;
    }
    public Date getDate() {
        return this.date;
    }
    public void setDate(Date date) {
        this.date = date;
    }
    public int getYear() {
        return this.year;
    }
    public void setYear(int year) {
        this.year = year;
    }
    public int getMouth() {
        return this.mouth;
    }
    public void setMouth(int mouth) {
        this.mouth = mouth;
    }
    public int getDay() {
        return this.day;
    }
    public void setDay(int day) {
        this.day = day;
    }
    public Double getMoney() {
        return this.money;
    }
    public void setMoney(Double money) {
        this.money = money;
    }
    public String getIntroduction() {
        return this.introduction;
    }
    public void setIntroduction(String introduction) {
        this.introduction = introduction;
    }

}
